const express = require('express')

const app = express()
app.use(express.static(__dirname + '/static'))

app.get('/person',(req,res) => {
    res.send({
        name:'肖战',age:14
    })
})

app.listen(5005,(err) => {
    if(!err) console.log('服务器启动成功了！');
})